const leavePage = {
  state: {
    detailData: {}
  },
  mutations: {
    GetDetail: (state, value) => {
      state.detailData = value
    }
  },
  actions: {
    getDetail({commit}, id) {
      commit('GetDetail', {
        name: '活动名称XXX',
        region: 'beijing',
        delivery: true,
        type: ['地推活动', '单纯品牌曝光'],
        resource: '线下场地免费',
        desc: '活动形式XXX'
      })
    }
  }
}

export default leavePage
